<template>
  <div>
    <p>register</p>
    <input type="text" placeholder="用户名">
    <input type="password" placeholder="密码">
  </div>
</template>
<script>
export default {
  created() {
    console.log('register：我加载了');
  },
  destroyed() {
    console.log('register：我木有了');
  }
}
</script>